package org.shuma.productPriceType.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.shuma.productPriceType.domain.entity.ProductPriceType;

import java.util.List;
@Mapper
public interface ProductPriceTypeMapper extends BaseMapper<ProductPriceType> {

    @Select("select * from product_price_type where product_id = #{productId}")
    List<ProductPriceType> selectListById(Integer productId);
}
